find_package(PkgConfig)
pkg_search_module(AVFORMAT REQUIRED libavformat)

message(STATUS "=== AVFORMAT_LIBRARIES: ${AVFORMAT_LIBRARIES}")
message(STATUS "=== AVFORMAT_INCLUDE_DIRS: ${AVFORMAT_INCLUDE_DIRS}")
